#!/usr/bin/env bash
#
# usage: nrfutil dfu usb-serial -pkg <firmware_ready> -p <target_path>
#       - nrfutil dfu usb-serial -pkg app.zip -p COM19

FIRMWARE_READY=$1
TARGET_PATH=$2

nrfutil nrf5sdk-tools  dfu usb-serial -pkg ${FIRMWARE_READY} -p ${TARGET_PATH}

